home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-11-27 | 5.5 KB | [ TEXT/MPS ]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Nov 27 17:25:19 1994, modified Sun Nov 27 17:25:19 1994, creator 'MPS ', type ASCII, 4867 bytes "ICAPI.h" , at 0x1383 428 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ MPS ]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 07 49 43 41 50 49 2e | 68 00 00 00 00 00 00 00 |..ICAPI.|h.......| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......| |00000050| 00 00 00 00 00 13 03 00 | 00 01 ac aa fe b7 cf aa |........|........| |00000060| fe b7 cf 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 67 76 00 00 |........|....gv..| |00000080| 2f 2a 0d 09 54 68 65 20 | 63 61 6e 6f 6e 69 63 61 |/*..The |canonica| |00000090| 6c 20 49 6e 74 65 72 6e | 65 74 20 43 6f 6e 66 69 |l Intern|et Confi| |000000a0| 67 20 69 6e 74 65 72 66 | 61 63 65 20 69 73 20 64 |g interf|ace is d| |000000b0| 65 66 69 6e 65 64 20 69 | 6e 20 50 61 73 63 61 6c |efined i|n Pascal| |000000c0| 2e 20 20 54 68 65 73 65 | 20 68 65 61 64 65 72 73 |. These| headers| |000000d0| 20 68 61 76 65 0d 09 6e | 6f 74 20 62 65 65 6e 20 | have..n|ot been | |000000e0| 74 68 6f 72 6f 75 67 68 | 6c 79 20 74 65 73 74 65 |thorough|ly teste| |000000f0| 64 2e 20 20 49 66 20 74 | 68 65 72 65 20 69 73 20 |d. If t|here is | |00000100| 61 20 63 6f 6e 66 6c 69 | 63 74 20 62 65 74 77 65 |a confli|ct betwe| |00000110| 65 6e 20 74 68 65 73 65 | 20 68 65 61 64 65 72 73 |en these| headers| |00000120| 20 61 6e 64 20 74 68 65 | 0d 09 50 61 73 63 61 6c | and the|..Pascal| |00000130| 20 69 6e 74 65 72 66 61 | 63 65 73 2c 20 74 68 65 | interfa|ces, the| |00000140| 20 50 61 73 63 61 6c 20 | 73 68 6f 75 6c 64 20 74 | Pascal |should t| |00000150| 61 6b 65 20 70 72 65 63 | 65 64 65 6e 63 65 2e 0d |ake prec|edence..| |00000160| 2a 2f 0d 0d 2f 2a 20 2f | 2f 2f 2f 2f 2f 2f 2f 2f |*/../* /|////////| |00000170| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |00000180| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |00000190| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |000001a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |000001b0| 2f 2f 2f 2f 2f 2f 2f 2f | 20 2a 2f 0d 0d 23 69 66 |////////| */..#if| |000001c0| 6e 64 65 66 20 5f 5f 49 | 43 41 50 49 5f 5f 0d 23 |ndef __I|CAPI__.#| |000001d0| 64 65 66 69 6e 65 20 5f | 5f 49 43 41 50 49 5f 5f |define _|_ICAPI__| |000001e0| 0d 0d 23 69 66 6e 64 65 | 66 20 5f 5f 54 59 50 45 |..#ifnde|f __TYPE| |000001f0| 53 5f 5f 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 79 |S__.#inc|lude <Ty| |00000200| 70 65 73 2e 68 3e 0d 23 | 65 6e 64 69 66 0d 0d 23 |pes.h>.#|endif..#| |00000210| 69 66 6e 64 65 66 20 5f | 5f 46 49 4c 45 53 5f 5f |ifndef _|_FILES__| |00000220| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 46 69 6c 65 73 |.#includ|e <Files| |00000230| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 0d 23 69 66 6e |.h>.#end|if..#ifn| |00000240| 64 65 66 20 5f 5f 49 43 | 54 59 50 45 53 5f 5f 0d |def __IC|TYPES__.| |00000250| 23 69 6e 63 6c 75 64 65 | 20 3c 49 43 54 79 70 65 |#include| <ICType| |00000260| 73 2e 68 3e 0d 23 65 6e | 64 69 66 0d 0d 2f 2a 20 |s.h>.#en|dif../* | |00000270| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |00000280| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |00000290| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |000002a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |000002b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////| |000002c0| 2f 20 2a 2f 0d 0d 23 69 | 66 64 65 66 20 5f 5f 63 |/ */..#i|fdef __c| |000002d0| 70 6c 75 73 70 6c 75 73 | 0d 65 78 74 65 72 6e 20 |plusplus|.extern | |000002e0| 22 43 22 20 7b 0d 23 65 | 6e 64 69 66 0d 0d 09 70 |"C" {.#e|ndif...p| |000002f0| 61 73 63 61 6c 20 49 43 | 45 72 72 6f 72 20 49 43 |ascal IC|Error IC| |00000300| 53 74 61 72 74 28 49 43 | 49 6e 73 74 61 6e 63 65 |Start(IC|Instance| |00000310| 20 2a 69 6e 73 74 2c 20 | 4f 53 54 79 70 65 20 63 | *inst, |OSType c| |00000320| 72 65 61 74 6f 72 29 3b | 0d 09 2f 2a 20 63 61 6c |reator);|../* cal| |00000330| 6c 20 61 74 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |l at app|lication| |00000340| 20 69 6e 69 74 69 61 6c | 69 73 61 74 69 6f 6e 20 | initial|isation | |00000350| 2a 2f 0d 0d 09 70 61 73 | 63 61 6c 20 49 43 45 72 |*/...pas|cal ICEr| |00000360| 72 6f 72 20 49 43 53 74 | 6f 70 28 49 43 49 6e 73 |ror ICSt|op(ICIns| |00000370| 74 61 6e 63 65 20 69 6e | 73 74 29 3b 0d 09 2f 2a |tance in|st);../*| |00000380| 20 63 61 6c 6c 20 61 74 | 20 61 70 70 6c 69 63 61 | call at| applica| |00000390| 74 69 6f 6e 20 74 65 72 | 6d 69 6e 61 74 69 6f 6e |tion ter|mination| |000003a0| 20 2a 2f 0d 0d 09 70 61 | 73 63 61 6c 20 49 43 45 | */...pa|scal ICE| |000003b0| 72 72 6f 72 20 49 43 46 | 69 6e 64 43 6f 6e 66 69 |rror ICF|indConfi| |000003c0| 67 46 69 6c 65 28 49 43 | 49 6e 73 74 61 6e 63 65 |gFile(IC|Instance| |000003d0| 20 69 6e 73 74 2c 20 73 | 68 6f 72 74 20 63 6f 75 | inst, s|hort cou| |000003e0| 6e 74 2c 20 49 43 44 69 | 72 53 70 65 63 41 72 72 |nt, ICDi|rSpecArr| |000003f0| 61 79 50 74 72 20 66 6f | 6c 64 65 72 73 29 3b 0d |ayPtr fo|lders);.| |00000400| 09 2f 2a 20 63 6f 75 6e | 74 20 69 73 20 74 68 65 |./* coun|t is the| |00000410| 20 6e 75 6d 62 65 72 20 | 6f 66 20 49 43 44 69 72 | number |of ICDir| |00000420| 53 70 65 63 73 20 74 68 | 61 74 20 61 72 65 20 76 |Specs th|at are v| |00000430| 61 6c 69 64 20 69 6e 20 | 66 6f 6c 64 65 72 73 20 |alid in |folders | |00000440| 2a 2f 0d 09 2f 2a 20 73 | 65 61 72 63 68 65 73 20 |*/../* s|earches | |00000450| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 66 6f |the spec|ified fo| |00000460| 6c 64 65 72 73 20 66 69 | 72 73 74 2c 20 74 68 65 |lders fi|rst, the| |00000470| 6e 20 62 61 63 6b 73 20 | 6f 75 74 20 74 6f 20 70 |n backs |out to p| |00000480| 72 65 66 65 72 65 6e 63 | 65 73 20 66 6f 6c 64 65 |referenc|es folde| |00000490| 72 20 2a 2f 0d 09 2f 2a | 20 64 6f 6e 27 74 20 79 |r */../*| don't y| |000004a0| 6f 75 20 77 6f 72 72 79 | 20 61 62 6f 75 74 20 68 |ou worry| about h| |000004b0| 6f 77 20 69 74 20 66 69 | 6e 64 73 20 74 68 65 20 |ow it fi|nds the | |000004c0| 66 69 6c 65 20 28 3b 20 | 2a 2f 0d 09 2f 2a 20 79 |file (; |*/../* y| |000004d0| 6f 75 20 63 61 6e 20 70 | 61 73 73 20 6e 69 6c 20 |ou can p|ass nil | |000004e0| 74 6f 20 66 6f 6c 64 65 | 72 73 20 69 66 20 63 6f |to folde|rs if co| |000004f0| 75 6e 74 20 69 73 20 30 | 20 2a 2f 0d 0d 09 70 61 |unt is 0| */...pa| |00000500| 73 63 61 6c 20 49 43 45 | 72 72 6f 72 20 49 43 53 |scal ICE|rror ICS| |00000510| 70 65 63 69 66 79 43 6f | 6e 66 69 67 46 69 6c 65 |pecifyCo|nfigFile| |00000520| 28 49 43 49 6e 73 74 61 | 6e 63 65 20 69 6e 73 74 |(ICInsta|nce inst| |00000530| 2c 20 46 53 53 70 65 63 | 20 2a 63 6f 6e 66 69 67 |, FSSpec| *config| |00000540| 29 3b 0d 09 2f 2a 20 66 | 6f 72 20 75 73 65 20 2a |);../* f|or use *| |00000550| 6f 6e 6c 79 2a 20 62 79 | 20 49 6e 74 65 72 6e 65 |only* by| Interne| |00000560| 74 20 43 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |t Config|uration | |00000570| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 2a 2f 0d 0d |applicat|ion */..| |00000580| 09 70 61 73 63 61 6c 20 | 49 43 45 72 72 6f 72 20 |.pascal |ICError | |00000590| 49 43 47 65 74 53 65 65 | 64 28 49 43 49 6e 73 74 |ICGetSee|d(ICInst| |000005a0| 61 6e 63 65 20 69 6e 73 | 74 2c 20 6c 6f 6e 67 20 |ance ins|t, long | |000005b0| 2a 73 65 65 64 29 3b 0d | 09 2f 2a 20 72 65 74 75 |*seed);.|./* retu| |000005c0| 72 6e 73 20 63 75 72 72 | 65 6e 74 20 73 65 65 64 |rns curr|ent seed| |000005d0| 20 66 6f 72 20 70 72 65 | 66 73 20 66 69 6c 65 20 | for pre|fs file | |000005e0| 2a 2f 0d 09 2f 2a 20 74 | 68 69 73 20 73 65 65 64 |*/../* t|his seed| |000005f0| 20 63 68 61 6e 67 65 73 | 20 65 76 65 72 79 20 74 | changes| every t| |00000600| 69 6d 65 20 61 20 70 72 | 65 66 65 72 65 6e 63 65 |ime a pr|eference| |00000610| 20 69 73 20 6d 6f 64 69 | 66 69 65 64 20 2a 2f 0d | is modi|fied */.| |00000620| 09 2f 2a 20 70 6f 6c 6c | 20 74 68 69 73 20 74 6f |./* poll| this to| |00000630| 20 64 65 74 65 63 74 20 | 70 72 65 66 65 72 65 6e | detect |preferen| |00000640| 63 65 20 63 68 61 6e 67 | 65 73 20 62 79 20 6f 74 |ce chang|es by ot| |00000650| 68 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |her appl|ications| |00000660| 20 2a 2f 0d 0d 09 70 61 | 73 63 61 6c 20 49 43 45 | */...pa|scal ICE| |00000670| 72 72 6f 72 20 49 43 47 | 65 74 50 65 72 6d 28 49 |rror ICG|etPerm(I| |00000680| 43 49 6e 73 74 61 6e 63 | 65 20 69 6e 73 74 2c 20 |CInstanc|e inst, | |00000690| 49 43 50 65 72 6d 20 2a | 70 65 72 6d 29 3b 0d 09 |ICPerm *|perm);..| |000006a0| 2f 2a 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 70 |/* retur|ns the p| |000006b0| 65 72 6d 69 73 73 69 6f | 6e 73 20 63 75 72 72 65 |ermissio|ns curre| |000006c0| 6e 74 6c 79 20 61 73 73 | 6f 63 69 61 74 65 64 20 |ntly ass|ociated | |000006d0| 77 69 74 68 20 74 68 69 | 73 20 66 69 6c 65 20 2a |with thi|s file *| |000006e0| 2f 0d 09 2f 2a 20 6d 61 | 69 6e 6c 79 20 75 73 65 |/../* ma|inly use| |000006f0| 64 20 62 79 20 6f 76 65 | 72 72 69 64 69 6e 67 20 |d by ove|rriding | |00000700| 63 6f 6d 70 6f 6e 65 6e | 74 73 2c 20 61 70 70 6c |componen|ts, appl| |00000710| 69 63 61 74 69 6f 6e 73 | 20 6e 6f 72 6d 61 6c 6c |ications| normall| |00000720| 79 20 2a 2f 0d 09 2f 2a | 20 6b 6e 6f 77 20 77 68 |y */../*| know wh| |00000730| 61 74 20 70 65 72 6d 69 | 73 73 69 6f 6e 73 20 74 |at permi|ssions t| |00000740| 68 65 79 20 68 61 76 65 | 20 2a 2f 0d 0d 09 70 61 |hey have| */...pa| |00000750| 73 63 61 6c 20 49 43 45 | 72 72 6f 72 20 49 43 42 |scal ICE|rror ICB| |00000760| 65 67 69 6e 28 49 43 49 | 6e 73 74 61 6e 63 65 20 |egin(ICI|nstance | |00000770| 69 6e 73 74 2c 20 49 43 | 50 65 72 6d 20 70 65 72 |inst, IC|Perm per| |00000780| 6d 29 3b 0d 09 2f 2a 20 | 73 74 61 72 74 20 72 65 |m);../* |start re| |00000790| 61 64 69 6e 67 2f 77 72 | 69 74 69 6e 67 20 74 68 |ading/wr|iting th| |000007a0| 65 20 70 72 65 66 65 72 | 65 6e 63 65 73 20 2a 2f |e prefer|ences */| |000007b0| 0d 09 2f 2a 20 6d 75 73 | 74 20 62 65 20 62 61 6c |../* mus|t be bal| |000007c0| 61 6e 61 63 65 64 20 62 | 79 20 61 20 49 43 45 6e |anaced b|y a ICEn| |000007d0| 64 20 2a 2f 0d 09 2f 2a | 20 64 6f 20 6e 6f 74 20 |d */../*| do not | |000007e0| 63 61 6c 6c 20 57 61 69 | 74 4e 65 78 74 45 76 65 |call Wai|tNextEve| |000007f0| 6e 74 20 62 65 74 77 65 | 65 6e 20 74 68 69 73 20 |nt betwe|en this | |00000800| 70 61 69 72 20 2a 2f 0d | 09 2f 2a 20 73 70 65 63 |pair */.|./* spec| |00000810| 69 66 79 20 65 69 74 68 | 65 72 20 69 63 52 65 61 |ify eith|er icRea| |00000820| 64 4f 6e 6c 79 50 65 72 | 6d 20 6f 72 20 69 63 52 |dOnlyPer|m or icR| |00000830| 65 61 64 57 72 69 74 65 | 50 65 72 6d 20 2a 2f 0d |eadWrite|Perm */.| |00000840| 09 2f 2a 20 6e 6f 74 65 | 20 74 68 61 74 20 74 68 |./* note| that th| |00000850| 69 73 20 6d 61 79 20 6f | 70 65 6e 20 72 65 73 6f |is may o|pen reso| |00000860| 75 72 63 65 20 66 69 6c | 65 73 20 61 6e 64 20 6c |urce fil|es and l| |00000870| 65 61 76 65 20 74 68 65 | 6d 20 6f 70 65 6e 20 75 |eave the|m open u| |00000880| 6e 74 69 6c 20 49 43 45 | 6e 64 20 2a 2f 0d 0d 09 |ntil ICE|nd */...| |00000890| 70 61 73 63 61 6c 20 49 | 43 45 72 72 6f 72 20 49 |pascal I|CError I| |000008a0| 43 47 65 74 50 72 65 66 | 28 49 43 49 6e 73 74 61 |CGetPref|(ICInsta| |000008b0| 6e 63 65 20 69 6e 73 74 | 2c 20 43 6f 6e 73 74 53 |nce inst|, ConstS| |000008c0| 74 72 32 35 35 50 61 72 | 61 6d 20 6b 65 79 2c 20 |tr255Par|am key, | |000008d0| 49 43 41 74 74 72 20 2a | 61 74 74 72 2c 20 50 74 |ICAttr *|attr, Pt| |000008e0| 72 20 62 75 66 2c 20 6c | 6f 6e 67 20 2a 73 69 7a |r buf, l|ong *siz| |000008f0| 65 29 3b 0d 09 2f 2a 20 | 74 68 69 73 20 72 6f 75 |e);../* |this rou| |00000900| 74 69 6e 65 20 6d 61 79 | 20 62 65 20 63 61 6c 6c |tine may| be call| |00000910| 65 64 20 77 69 74 68 6f | 75 74 20 61 20 49 43 42 |ed witho|ut a ICB| |00000920| 65 67 69 6e 2f 49 43 45 | 6e 64 20 70 61 69 72 2c |egin/ICE|nd pair,| |00000930| 20 69 6e 20 77 68 69 63 | 68 20 63 61 73 65 20 2a | in whic|h case *| |00000940| 2f 0d 09 2f 2a 20 69 74 | 20 69 6d 70 6c 69 63 69 |/../* it| implici| |00000950| 74 6c 79 20 63 61 6c 6c | 73 20 49 43 42 65 67 69 |tly call|s ICBegi| |00000960| 6e 28 69 6e 73 74 2c 20 | 69 63 52 65 61 64 4f 6e |n(inst, |icReadOn| |00000970| 6c 79 50 65 72 6d 20 2a | 2f 0d 09 2f 2a 20 67 69 |lyPerm *|/../* gi| |00000980| 76 65 6e 20 61 20 6b 65 | 79 20 73 74 72 69 6e 67 |ven a ke|y string| |00000990| 2c 20 72 65 74 75 72 6e | 73 20 74 68 65 20 61 74 |, return|s the at| |000009a0| 74 72 69 62 75 74 65 73 | 20 61 6e 64 20 74 68 65 |tributes| and the| |000009b0| 20 28 6f 70 74 69 6f 6e | 61 6c 6c 79 29 20 74 68 | (option|ally) th| |000009c0| 65 20 64 61 74 61 20 66 | 6f 72 20 61 20 70 72 65 |e data f|or a pre| |000009d0| 66 65 72 65 6e 63 65 20 | 2a 2f 0d 09 2f 2a 20 6b |ference |*/../* k| |000009e0| 65 79 20 6d 75 73 74 20 | 6e 6f 74 20 62 65 20 74 |ey must |not be t| |000009f0| 68 65 20 65 6d 70 74 79 | 20 73 74 72 69 6e 67 20 |he empty| string | |00000a00| 2a 2f 0d 09 2f 2a 20 69 | 66 20 62 75 66 20 69 73 |*/../* i|f buf is| |00000a10| 20 6e 69 6c 20 74 68 65 | 6e 20 6e 6f 20 64 61 74 | nil the|n no dat| |00000a20| 61 20 66 65 74 63 68 65 | 64 20 61 6e 64 20 69 6e |a fetche|d and in| |00000a30| 63 6f 6d 69 6e 67 20 73 | 69 7a 65 20 69 73 20 69 |coming s|ize is i| |00000a40| 67 6e 6f 72 65 64 2a 2f | 0d 09 2f 2a 20 73 69 7a |gnored*/|../* siz| |00000a50| 65 20 6d 75 73 74 20 62 | 65 20 6e 6f 6e 2d 6e 65 |e must b|e non-ne| |00000a60| 67 61 74 69 76 65 2c 20 | 69 73 20 73 69 7a 65 20 |gative, |is size | |00000a70| 6f 66 20 61 6c 6c 6f 63 | 61 74 65 64 20 73 70 61 |of alloc|ated spa| |00000a80| 63 65 20 66 6f 72 20 64 | 61 74 61 20 61 74 20 62 |ce for d|ata at b| |00000a90| 75 66 20 2a 2f 0d 09 2f | 2a 20 61 74 74 72 20 61 |uf */../|* attr a| |00000aa0| 6e 64 20 73 69 7a 65 20 | 61 6e 64 20 61 6c 77 61 |nd size |and alwa| |00000ab0| 79 73 20 73 65 74 20 6f | 6e 20 72 65 74 75 72 6e |ys set o|n return| |00000ac0| 20 2a 2f 0d 09 2f 2a 20 | 73 69 7a 65 20 69 73 20 | */../* |size is | |00000ad0| 61 63 74 75 61 6c 20 73 | 69 7a 65 20 6f 66 20 64 |actual s|ize of d| |00000ae0| 61 74 61 20 28 69 66 20 | 6b 65 79 20 70 72 65 73 |ata (if |key pres| |00000af0| 65 6e 74 29 3b 20 2a 2f | 0d 09 2f 2a 20 61 74 74 |ent); */|../* att| |00000b00| 72 20 69 73 20 70 72 65 | 66 20 61 74 74 72 69 62 |r is pre|f attrib| |00000b10| 75 74 65 73 20 2a 2f 0d | 20 09 2f 2a 20 69 66 20 |utes */.| ./* if | |00000b20| 69 63 54 72 75 6e 63 61 | 74 65 64 45 72 72 20 74 |icTrunca|tedErr t| |00000b30| 68 65 6e 20 65 76 65 72 | 79 74 68 69 6e 67 20 69 |hen ever|ything i| |00000b40| 73 20 76 61 6c 69 64 2c | 20 65 78 63 65 70 74 20 |s valid,| except | |00000b50| 79 6f 75 20 6c 6f 73 74 | 20 73 6f 6d 65 20 64 61 |you lost| some da| |00000b60| 74 61 2c 20 73 69 7a 65 | 20 69 73 20 73 69 7a 65 |ta, size| is size| |00000b70| 20 6f 66 20 72 65 61 6c | 20 64 61 74 61 2a 2f 0d | of real| data*/.| |00000b80| 09 2f 2a 20 6f 6e 20 6f | 74 68 65 72 20 65 72 72 |./* on o|ther err| |00000b90| 6f 72 73 2c 20 61 74 74 | 72 20 69 73 20 49 43 61 |ors, att|r is ICa| |00000ba0| 74 74 72 5f 6e 6f 5f 63 | 68 61 6e 67 65 20 61 6e |ttr_no_c|hange an| |00000bb0| 64 20 73 69 7a 65 20 69 | 73 20 30 20 2a 2f 0d 0d |d size i|s 0 */..| |00000bc0| 09 70 61 73 63 61 6c 20 | 49 43 45 72 72 6f 72 20 |.pascal |ICError | |00000bd0| 49 43 53 65 74 50 72 65 | 66 28 49 43 49 6e 73 74 |ICSetPre|f(ICInst| |00000be0| 61 6e 63 65 20 69 6e 73 | 74 2c 20 43 6f 6e 73 74 |ance ins|t, Const| |00000bf0| 53 74 72 32 35 35 50 61 | 72 61 6d 20 6b 65 79 2c |Str255Pa|ram key,| |00000c00| 20 49 43 41 74 74 72 20 | 61 74 74 72 2c 20 50 74 | ICAttr |attr, Pt| |00000c10| 72 20 62 75 66 2c 20 6c | 6f 6e 67 20 73 69 7a 65 |r buf, l|ong size| |00000c20| 29 3b 0d 09 2f 2a 20 74 | 68 69 73 20 72 6f 75 74 |);../* t|his rout| |00000c30| 69 6e 65 20 6d 61 79 20 | 62 65 20 63 61 6c 6c 65 |ine may |be calle| |00000c40| 64 20 77 69 74 68 6f 75 | 74 20 61 20 49 43 42 65 |d withou|t a ICBe| |00000c50| 67 69 6e 2f 49 43 45 6e | 64 20 70 61 69 72 2c 20 |gin/ICEn|d pair, | |00000c60| 69 6e 20 77 68 69 63 68 | 20 63 61 73 65 20 2a 2f |in which| case */| |00000c70| 0d 09 2f 2a 20 69 74 20 | 69 6d 70 6c 69 63 69 74 |../* it |implicit| |00000c80| 6c 79 20 63 61 6c 6c 73 | 20 49 43 42 65 67 69 6e |ly calls| ICBegin| |00000c90| 28 69 6e 73 74 2c 20 69 | 63 52 65 61 64 57 72 69 |(inst, i|cReadWri| |00000ca0| 74 65 50 65 72 6d 20 2a | 2f 0d 09 2f 2a 20 67 69 |tePerm *|/../* gi| |00000cb0| 76 65 6e 20 61 20 6b 65 | 79 20 73 74 72 69 6e 67 |ven a ke|y string| |00000cc0| 2c 20 73 65 74 73 20 74 | 68 65 20 61 74 74 72 69 |, sets t|he attri| |00000cd0| 62 75 74 65 73 20 61 6e | 64 20 74 68 65 20 64 61 |butes an|d the da| |00000ce0| 74 61 20 66 6f 72 20 61 | 20 70 72 65 66 65 72 65 |ta for a| prefere| |00000cf0| 6e 63 65 20 28 65 69 74 | 68 65 72 20 69 73 20 6f |nce (eit|her is o| |00000d00| 70 74 69 6f 6e 61 6c 29 | 3b 20 2a 2f 0d 09 2f 2a |ptional)|; */../*| |00000d10| 20 6b 65 79 20 6d 75 73 | 74 20 6e 6f 74 20 62 65 | key mus|t not be| |00000d20| 20 74 68 65 20 65 6d 70 | 74 79 20 73 74 72 69 6e | the emp|ty strin| |00000d30| 67 20 2a 2f 0d 09 2f 2a | 20 69 66 20 62 75 66 20 |g */../*| if buf | |00000d40| 69 73 20 6e 69 6c 20 74 | 68 65 6e 20 6e 6f 20 64 |is nil t|hen no d| |00000d50| 61 74 61 20 73 74 6f 72 | 65 64 20 61 6e 64 20 73 |ata stor|ed and s| |00000d60| 69 7a 65 20 69 73 20 69 | 67 6e 6f 72 65 64 2c 20 |ize is i|gnored, | |00000d70| 75 73 65 64 20 66 6f 72 | 20 73 65 74 74 69 6e 67 |used for| setting| |00000d80| 20 61 74 74 72 20 2a 2f | 0d 09 2f 2a 20 73 69 7a | attr */|../* siz| |00000d90| 65 20 6d 75 73 74 20 62 | 65 20 6e 6f 6e 2d 6e 65 |e must b|e non-ne| |00000da0| 67 61 74 69 76 65 2c 20 | 69 73 20 73 69 7a 65 20 |gative, |is size | |00000db0| 6f 66 20 74 68 65 20 64 | 61 74 61 20 61 74 20 62 |of the d|ata at b| |00000dc0| 75 66 20 74 6f 20 73 74 | 6f 72 65 20 2a 2f 0d 09 |uf to st|ore */..| |00000dd0| 2f 2a 20 69 63 50 65 72 | 6d 45 72 72 20 69 66 20 |/* icPer|mErr if | |00000de0| 49 43 42 65 67 69 6e 20 | 77 61 73 20 67 69 76 65 |ICBegin |was give| |00000df0| 6e 20 69 63 52 65 61 64 | 4f 6e 6c 79 50 65 72 6d |n icRead|OnlyPerm| |00000e00| 20 2a 2f 0d 09 2f 2a 20 | 69 63 50 65 72 6d 45 72 | */../* |icPermEr| |00000e10| 72 20 69 66 20 63 75 72 | 72 65 6e 74 20 61 74 74 |r if cur|rent att| |00000e20| 72 20 69 73 20 6c 6f 63 | 6b 65 64 2c 20 6e 65 77 |r is loc|ked, new| |00000e30| 20 61 74 74 72 20 69 73 | 20 6c 6f 63 6b 65 64 20 | attr is| locked | |00000e40| 61 6e 64 20 62 75 66 20 | 3c 3e 20 6e 69 6c 20 2a |and buf |<> nil *| |00000e50| 2f 0d 0d 09 70 61 73 63 | 61 6c 20 49 43 45 72 72 |/...pasc|al ICErr| |00000e60| 6f 72 20 49 43 43 6f 75 | 6e 74 50 72 65 66 28 49 |or ICCou|ntPref(I| |00000e70| 43 49 6e 73 74 61 6e 63 | 65 20 69 6e 73 74 2c 20 |CInstanc|e inst, | |00000e80| 6c 6f 6e 67 20 2a 63 6f | 75 6e 74 29 3b 0d 09 2f |long *co|unt);../| |00000e90| 2a 20 63 6f 75 6e 74 20 | 74 6f 74 61 6c 20 6e 75 |* count |total nu| |00000ea0| 6d 62 65 72 20 6f 66 20 | 70 72 65 66 65 72 65 6e |mber of |preferen| |00000eb0| 63 65 73 20 2a 2f 0d 09 | 2f 2a 20 69 66 20 65 72 |ces */..|/* if er| |00000ec0| 72 6f 72 20 74 68 65 6e | 20 63 6f 75 6e 74 20 69 |ror then| count i| |00000ed0| 73 20 30 20 2a 2f 0d 0d | 09 70 61 73 63 61 6c 20 |s 0 */..|.pascal | |00000ee0| 49 43 45 72 72 6f 72 20 | 49 43 47 65 74 49 6e 64 |ICError |ICGetInd| |00000ef0| 50 72 65 66 28 49 43 49 | 6e 73 74 61 6e 63 65 20 |Pref(ICI|nstance | |00000f00| 69 6e 73 74 2c 20 6c 6f | 6e 67 20 6e 2c 20 53 74 |inst, lo|ng n, St| |00000f10| 72 32 35 35 20 6b 65 79 | 29 3b 0d 09 2f 2a 20 72 |r255 key|);../* r| |00000f20| 65 74 75 72 6e 20 74 68 | 65 20 6b 65 79 20 6f 66 |eturn th|e key of| |00000f30| 20 74 68 65 20 4e 74 68 | 20 70 72 65 66 65 72 65 | the Nth| prefere| |00000f40| 6e 63 65 20 2a 2f 0d 09 | 2f 2a 20 6e 20 6d 75 73 |nce */..|/* n mus| |00000f50| 74 20 62 65 20 70 6f 73 | 69 74 69 76 65 20 2a 2f |t be pos|itive */| |00000f60| 0d 09 2f 2a 20 69 63 50 | 72 65 66 4e 6f 74 46 6f |../* icP|refNotFo| |00000f70| 75 6e 64 45 72 72 20 69 | 66 20 6e 20 69 73 20 62 |undErr i|f n is b| |00000f80| 65 79 6f 6e 64 20 74 68 | 65 20 6c 61 73 74 20 70 |eyond th|e last p| |00000f90| 72 65 66 65 72 65 6e 63 | 65 20 2a 2f 0d 0d 09 70 |referenc|e */...p| |00000fa0| 61 73 63 61 6c 20 49 43 | 45 72 72 6f 72 20 49 43 |ascal IC|Error IC| |00000fb0| 44 65 6c 65 74 65 50 72 | 65 66 28 49 43 49 6e 73 |DeletePr|ef(ICIns| |00000fc0| 74 61 6e 63 65 20 69 6e | 73 74 2c 20 43 6f 6e 73 |tance in|st, Cons| |00000fd0| 74 53 74 72 32 35 35 50 | 61 72 61 6d 20 6b 65 79 |tStr255P|aram key| |00000fe0| 29 3b 0d 09 2f 2a 20 64 | 65 6c 65 74 65 20 74 68 |);../* d|elete th| |00000ff0| 65 20 70 72 65 66 65 72 | 65 6e 63 65 20 73 70 65 |e prefer|ence spe| |00001000| 63 69 66 69 65 64 20 62 | 79 20 6b 65 79 20 2a 2f |cified b|y key */| |00001010| 0d 09 2f 2a 20 6b 65 79 | 20 6d 75 73 74 20 6e 6f |../* key| must no| |00001020| 74 20 62 65 20 74 68 65 | 20 65 6d 70 74 79 20 73 |t be the| empty s| |00001030| 74 72 69 6e 67 20 2a 2f | 0d 09 2f 2a 20 70 72 65 |tring */|../* pre| |00001040| 66 65 72 65 6e 63 65 20 | 73 70 65 63 69 66 69 65 |ference |specifie| |00001050| 64 20 62 79 20 6b 65 79 | 20 6d 75 73 74 20 62 65 |d by key| must be| |00001060| 20 70 72 65 73 65 6e 74 | 20 2a 2f 0d 09 2f 2a 20 | present| */../* | |00001070| 69 63 50 72 65 66 4e 6f | 74 46 6f 75 6e 64 45 72 |icPrefNo|tFoundEr| |00001080| 72 20 69 66 20 69 74 20 | 69 73 6e 27 74 20 2a 2f |r if it |isn't */| |00001090| 0d 0d 09 70 61 73 63 61 | 6c 20 49 43 45 72 72 6f |...pasca|l ICErro| |000010a0| 72 20 49 43 45 6e 64 28 | 49 43 49 6e 73 74 61 6e |r ICEnd(|ICInstan| |000010b0| 63 65 20 69 6e 73 74 29 | 3b 0d 09 2f 2a 20 73 74 |ce inst)|;../* st| |000010c0| 6f 70 20 72 65 61 64 69 | 6e 67 2f 77 72 69 74 69 |op readi|ng/writi| |000010d0| 6e 67 20 74 68 65 20 70 | 72 65 66 65 72 65 6e 63 |ng the p|referenc| |000010e0| 65 73 20 2a 2f 0d 0d 09 | 70 61 73 63 61 6c 20 49 |es */...|pascal I| |000010f0| 43 45 72 72 6f 72 20 49 | 43 44 65 66 61 75 6c 74 |CError I|CDefault| |00001100| 46 69 6c 65 4e 61 6d 65 | 28 49 43 49 6e 73 74 61 |FileName|(ICInsta| |00001110| 6e 63 65 20 69 6e 73 74 | 2c 20 53 74 72 36 33 20 |nce inst|, Str63 | |00001120| 6e 61 6d 65 29 3b 0d 09 | 2f 2a 20 72 65 74 75 72 |name);..|/* retur| |00001130| 6e 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 66 69 |n the de|fault fi| |00001140| 6c 65 20 6e 61 6d 65 20 | 2a 2f 0d 09 2f 2a 20 74 |le name |*/../* t| |00001150| 68 65 20 63 6f 6d 70 6f | 6e 65 6e 74 20 63 61 6c |he compo|nent cal| |00001160| 6c 73 20 74 68 69 73 20 | 72 6f 75 74 69 6e 65 20 |ls this |routine | |00001170| 74 6f 20 73 65 74 20 75 | 70 20 74 68 65 20 64 65 |to set u|p the de| |00001180| 66 61 75 6c 74 20 69 6e | 74 65 72 6e 65 74 20 63 |fault in|ternet c| |00001190| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 66 69 6c |onfigura|tion fil| |000011a0| 65 20 6e 61 6d 65 2a 2f | 0d 09 2f 2a 20 74 68 69 |e name*/|../* thi| |000011b0| 73 20 61 6c 6c 6f 77 73 | 20 74 68 69 73 20 6f 70 |s allows| this op| |000011c0| 65 72 61 74 69 6f 6e 20 | 74 6f 20 62 65 20 69 6e |eration |to be in| |000011d0| 74 65 72 63 65 70 74 65 | 64 20 62 79 20 61 20 63 |tercepte|d by a c| |000011e0| 6f 6d 70 6f 6e 65 6e 74 | 20 74 68 61 74 20 68 61 |omponent| that ha| |000011f0| 73 20 63 61 70 74 75 72 | 65 64 20 75 73 20 2a 2f |s captur|ed us */| |00001200| 0d 09 2f 2a 20 69 74 20 | 63 75 72 72 65 6e 74 6c |../* it |currentl| |00001210| 79 20 67 65 74 73 20 69 | 74 20 66 72 6f 6d 20 74 |y gets i|t from t| |00001220| 68 65 20 63 6f 6d 70 6f | 6e 65 6e 74 20 72 65 73 |he compo|nent res| |00001230| 6f 75 72 63 65 20 66 69 | 6c 65 20 2a 2f 0d 09 2f |ource fi|le */../| |00001240| 2a 20 74 68 65 20 67 6c | 75 65 20 76 65 72 73 69 |* the gl|ue versi| |00001250| 6f 6e 20 69 73 20 68 61 | 72 64 77 69 72 65 64 20 |on is ha|rdwired | |00001260| 2a 2f 0d 0d 09 70 61 73 | 63 61 6c 20 49 43 45 72 |*/...pas|cal ICEr| |00001270| 72 6f 72 20 49 43 47 65 | 74 43 6f 6d 70 6f 6e 65 |ror ICGe|tCompone| |00001280| 6e 74 49 6e 73 74 61 6e | 63 65 28 49 43 49 6e 73 |ntInstan|ce(ICIns| |00001290| 74 61 6e 63 65 20 69 6e | 73 74 2c 20 50 74 72 20 |tance in|st, Ptr | |000012a0| 2a 63 6f 6d 70 6f 6e 65 | 6e 74 5f 69 6e 73 74 29 |*compone|nt_inst)| |000012b0| 3b 0d 09 2f 2a 20 72 65 | 74 75 72 6e 73 20 6e 6f |;../* re|turns no| |000012c0| 45 72 72 20 61 6e 64 20 | 74 68 65 20 63 6f 6d 70 |Err and |the comp| |000012d0| 6f 6e 65 6e 74 20 69 6e | 73 74 61 6e 63 65 20 74 |onent in|stance t| |000012e0| 68 61 74 20 77 65 27 72 | 65 20 74 61 6c 6b 69 6e |hat we'r|e talkin| |000012f0| 67 20 74 6f 2c 20 69 66 | 20 77 65 27 72 65 20 75 |g to, if| we're u| |00001300| 73 69 6e 67 20 74 68 65 | 20 63 6f 6d 70 6f 6e 65 |sing the| compone| |00001310| 6e 74 20 2a 2f 0d 09 2f | 2a 20 72 65 74 75 72 6e |nt */../|* return| |00001320| 73 20 61 6e 20 65 72 72 | 6f 72 20 61 6e 64 20 6e |s an err|or and n| |00001330| 69 6c 20 69 66 20 77 65 | 27 72 65 20 64 6f 69 6e |il if we|'re doin| |00001340| 67 20 69 74 20 77 69 74 | 68 20 67 6c 75 65 20 2a |g it wit|h glue *| |00001350| 2f 0d 0d 23 69 66 64 65 | 66 20 5f 5f 63 70 6c 75 |/..#ifde|f __cplu| |00001360| 73 70 6c 75 73 0d 7d 0d | 23 65 6e 64 69 66 20 5f |splus.}.|#endif _| |00001370| 5f 63 70 6c 75 73 70 6c | 75 73 0d 0d 23 65 6e 64 |_cpluspl|us..#end| |00001380| 69 66 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |if......|........| |00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001400| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>| |00001410| 20 3d 20 30 2c 09 09 09 | 09 09 2f 2a 20 62 69 74 | = 0,...|../* bit| |00001420| 73 20 69 6e 20 74 68 65 | 20 70 72 65 66 65 72 65 |s in the| prefere| |00001430| 07 49 43 41 50 49 2e 68 | 02 00 00 00 54 45 58 54 |.ICAPI.h|....TEXT| |00001440| 4d 50 53 20 00 00 00 14 | 00 00 00 00 00 00 6a c3 |MPS ....|......j.| |00001450| 00 00 54 45 58 54 4d 50 | 53 20 00 00 00 14 00 00 |..TEXTMP|S ......| |00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001470| 5d 72 a9 ac 9d 9d 00 00 | 13 03 00 00 01 ac 0d 0d |]r......|........| |00001480| 23 64 65 66 69 6e 65 20 | 49 43 66 69 6c 65 74 79 |#define |ICfilety| |00001490| 70 65 20 27 49 43 41 70 | 27 0d 23 64 65 66 69 6e |pe 'ICAp|'.#defin| |000014a0| 65 20 49 43 63 72 65 61 | 74 6f 72 20 27 49 43 41 |e ICcrea|tor 'ICA| |000014b0| 70 27 0d 0d 23 64 65 66 | 69 6e 65 20 49 43 64 65 |p'..#def|ine ICde| |000014c0| 66 61 75 6c 74 5f 66 69 | 6c 65 5f 6e 61 6d 65 20 |fault_fi|le_name | |000014d0| 22 5c 70 49 6e 74 65 72 | 6e 65 74 20 50 72 65 66 |"\pInter|net Pref| |000014e0| 65 72 65 6e 63 65 73 22 | 09 2f 2a 20 64 65 66 61 |erences"|./* defa| |000014f0| 75 6c 74 20 66 69 6c 65 | 20 6e 61 6d 65 2c 20 66 |ult file| name, f| |00001500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 48 00 00 |...H..Mo|naco.H..| |00001510| 1f 00 82 00 00 00 00 0c | 05 b2 40 80 dd d8 45 0c |........|..@...E.| |00001520| 00 00 00 00 82 00 00 06 | 00 01 00 2a 00 19 01 d1 |........|...*....| |00001530| 02 15 00 2a 00 03 01 dd | 02 7d aa fe 71 7f 00 00 |...*....|.}..q...| |00001540| 08 0f 00 00 08 0f 00 00 | 05 00 01 00 00 00 00 1e |........|........| |00001550| 00 2a 00 19 01 d1 02 15 | 00 2a 00 03 01 dd 02 7d |.*......|.*.....}| |00001560| 00 00 05 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001570| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 60 |.....n..|.n...>.`| |00001580| d1 f8 0b 64 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |...d....|.>..MPSR| |00001590| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........| |000015a0| 03 f0 ff ff 00 00 00 4c | 00 63 2f 60 00 00 00 00 |.......L|.c/`....| |000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+